package com.gemme.gemme.wode;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;

import com.gemme.gemme.BaseActivity;
import com.gemme.gemme.R;
import com.gemme.gemme.shequ.Brand2Fragment;
import com.gemme.gemme.shequ.BrandNewFragment;
import com.gemme.gemme.shequ.FmPagerAdapter;
import com.gemme.gemme.shequ.ProductFragment;
import com.gemme.gemme.view.Topview;
import com.google.android.material.tabs.TabLayout;
import com.jaeger.library.StatusBarUtil;
import com.luck.picture.lib.config.PictureConfig;

import java.util.ArrayList;

import androidx.fragment.app.Fragment;
import androidx.viewpager.widget.ViewPager;


public class BrandListActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.brand_list_activity);
        initView();
        initTop();

    }





    private void initTop() {
        StatusBarUtil.setTransparent(this);
        Topview topView = findViewById(R.id.topView);
        topView.setContentText("选择品牌");
    }


    private void initView() {
        Brand2Fragment fragment = new Brand2Fragment();
        getSupportFragmentManager().beginTransaction().add(R.id.tab_content, fragment,
                PictureConfig.EXTRA_FC_TAG).show(fragment)
                .commit();


    }


}